#define  _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
int main() {
    int grade;
    while (scanf("%d", &grade) != EOF) {
        if (grade <= 100 && grade >= 60)
            printf("Pass\n");
        else if (grade < 60 && grade >= 0)
            printf("Fail\n");
        else
        {
            printf("Error\n");
            break;
        }
    }
    return 0;
}